import request from '@/utils/request'

// 查询PC端大屏当日实况数据
export function screenList(query) {
  return request({
    url: '/workPlan/workPlan/pcScreenlist',
    method: 'get',
    params: query
  })
}
// 查询PC端大屏当日实况数据
export function screenLists(query) {
  return request({
    url: '/workPlan/workPlan/machine',
    method: 'get',
    params: query
  })
}

// 弹框
export function listByCars(query) {
  return request({
    url: '/workRecord/workRecord/listbycar',
    method: 'get',
    params: query
  })
}

// 车间大屏当日实况数据
export function shopsList(query) {
  return request({
    url: '/workPlan/workPlan/shoplist',
    method: 'get',
    headers: {
      isToken: false
    },
    params: query
  })
}
